{% extends "./default2.html" %} {% block content %}
<div id="app">
  <ul id="tab">
    {% childnav key="tabTwoTitle","pageSize"=10,"typeId"="9" %} 
      {% for  cateItem in tabTwoTitle.cates %} 
          {% if cateItem.parentId != '0' %}
               {% if loop.index0 == 0 %} 
                   {% set currentClass = 'tab-current' %}
               {% else %} 
                  {% set currentClass = '' %} 
                {% endif %}
    <li class="{{currentClass}}">{{cateItem.name}}</li>
        {% endif %} 
      {% endfor %}
  </ul>
</div>
{% endblock %}
